package com.org.dto;


import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@lombok.Getter
@lombok.Setter
@lombok.ToString
public class RequestDetailSfContractSaveDto {
    //收房合同ID
    private Long sfContractId;
    //收房合同编号
    private String sfContractNo;
    //上一合同ID
    private Long lastContractId;
    //上一合同编号
    private String lastContractNo;
    //小区名称
    private String premiseName;
    //房产ID
    private String houseId;
    //房产信息
    private String houseName;
    /*所有权类型
    1：国有房产，2：直管房产，
    3：自管房产，4：军队房产，
    5：集体所有房产，6：私有(自由)房产，
    7：港、澳、台投资房产，8：涉外房产，9：其它房产*/
    private int houseType;
    //房产证书编号
    private String houseZsNo;
    //产权地址
    private String cqAddress;
    //业主ID
    private Long ownerId;
    //业主姓名
    private String ownerName;
    //是否为签约人 0:是   1:否
    private Boolean signWithOwner;
    //业主证件类型(与签约人证件类型一致)

    //业主证件号码
    private String ownerIdCard;
    //业主手机号
    private String ownerMobile;
    //业主联系地址
    private String ownerContactAddress;
    //签约人
    private String signUserName;
    //签约人证件类型
    private String certificateType;
    //签约人证件号
    private String signUserIdCard;
    //签约人手机号
    private String signUserMobile;
    //紧急联系电话
    private String signUserEmergencyPhone;
    //银行卡号
    //private String bankCard;
    //持卡人姓名
    //private String bankUserName;
    //持卡人身份证
    //private String bankUserIdCard;
    //开户行
    private String bankOpen;
    //开户银行
    private String bankName;
    /*******************5个新加字段start*********************/
    /**
     * 银行账户类型（对公账户、对私账户）AccountTypeEnum
     */
    private Integer accountType;

    /**
     * 银行卡号
     */
    private String bankCardNumber;

    /**
     * 账户名称（对公为企业名称，对私为姓名）
     */
    private String accountName;

    /**
     * 联行行号（手输，对公必须）
     */
    private String bankBranchCodeLh;

    /**
     * 开户行所在省ID
     */
    private Integer bankAccountProvince;
    /*******************新加字段end*********************/
    //合同开始日
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lesaseStartTime;
    //合同截止日
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date leaseEndTime;
    //租金
    private BigDecimal monthRent;
    //房产押金
    private BigDecimal depositMoney;
    //押
    private int depositType;
    //付
    private int paymentType;
    //备注
    private String remark;
    //房产证件照
    private String[] houseDocumentPhotos;
    //收房合同照
    private String[] contractPhotos;
    //业主身份证明照
    private String[] cardPhotos;
    //代理人身份证明照
    private String[] agentCardPhotos;
    //银行卡信息照
    private String[] bankCardInformationPhotos;
    //委托书照
    private String[] attorneyPhotos;
    //物业交割单照
    private String[] propertyDeliverys;
    //其他照
    private String[] otherPhotos;
    //付款信息单
    List<CwPaymentPlanDto> payMentltems;

    private String username;

    private Long loginUserId;

    private Long businessId;
}
